package hw282096.lesson1;

public class 习题2 {
	/* ����һ��
	  public static void main (String[]args){
	
		for (int i=1; i<=100;i++){
			if (i==47) break;
			System.out.print(i+" ");
		}

	} */
	
	
	/* ��������
	public static void main (String[]args){
		int i=1;		
	    while (i<=100){
	    	if (i==47) break;
			System.out.print(i+" ");
			i++;
		}

	}*/
	
	
	public static void main (String[]args){
		int i=1;		
	    do {
	    	if (i==47) break;
			System.out.print(i+" ");
			i++;
		}while (i<=100);

	}

}
